package com.sias.Loli.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class LeaderLog {
    private Integer id;
    private Integer aid;
    private Integer type;
    private String info;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ctime;

    public LeaderLog(Integer aid, Integer type, String info) {
        this.aid = aid;
        this.type = type;
        this.info = info;
    }
}
